package com.macro.mall.mapper;

import com.macro.mall.model.BasicKeyImg;
import com.macro.mall.model.BasicKeyImgExample;
import com.macro.mall.query.PictureQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BasicKeyImgMapper {
    long countByExample(BasicKeyImgExample example);

    int deleteByExample(BasicKeyImgExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicKeyImg record);

    int insertSelective(BasicKeyImg record);

    List<BasicKeyImg> selectByExample(BasicKeyImgExample example);

    BasicKeyImg selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicKeyImg record, @Param("example") BasicKeyImgExample example);

    int updateByExample(@Param("record") BasicKeyImg record, @Param("example") BasicKeyImgExample example);

    int updateByPrimaryKeySelective(BasicKeyImg record);

    int updateByPrimaryKey(BasicKeyImg record);

    List<BasicKeyImg> list(PictureQuery query);
}